package com.hrt.datasender.web.heatbeat;

import java.util.List;

import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;

import com.btcode.web.core.annotation.RequestMapping;
import com.btcode.web.core.controller.Controller;

@RequestMapping(path = "HeatBeat")
public class HeatBeatController extends Controller {

    @RequestMapping(path = "getList")
    public void getList(ServletRequest resq, ServletResponse res) throws Exception {
        List<HeatBeatModel> heartBeats = HeatBeatService.getInstance().getExistProtocol();
        success(heartBeats);
    }

}
